package dao.dao;

import dao.vo.User;

public interface UserDao {

	/**
	 * 增加一个用户
	 * 
	 * @param user
	 * @return
	 */
	public boolean add(User user);

	/**
	 * 删除一个用户
	 * 
	 * @param uid
	 * @return
	 */
	public boolean delete(String uid);

	/**
	 * 根据 uid 获取一个用户
	 * 
	 * @param uid
	 * @return
	 */
	public User getByUid(String uid);

	/**
	 * 修改用户
	 * 
	 * @param user
	 * @return
	 */
	public boolean update(User user);
}
